package br.com.sgpv2.entity.pessoa.documentacao;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

@Entity
@Table(name="idt_identidade")
@SequenceGenerator(name="sequenceIdentidade", sequenceName="idt_identidade_idt_id_seq")
public class Identidade implements Serializable{

	
	private static final long serialVersionUID = 1L;
	private int id;
	private String numero;
	private String orgao;
	private String dataExpedicao;
	
	
	@Id
	@GeneratedValue(strategy=GenerationType.IDENTITY)
	@Column(name="idt_id", nullable=false)
	public int getId() {
		return id;
	}
	
	public void setId(int id) {
		this.id = id;
	}
	
	@Column(name="idt_numero")
	public String getNumero() {
		return numero;
	}
	
	public void setNumero(String numero) {
		this.numero = numero;
	}
	
	@Column(name="idt_orgao")
	public String getOrgao() {
		return orgao;
	}
	
	public void setOrgao(String orgao) {
		this.orgao = orgao;
	}
	
	@Column(name="idt_data_expedicao")
	public String getDataExpedicao() {
		return dataExpedicao;
	}
	
	public void setDataExpedicao(String dataExpedicao) {
		this.dataExpedicao = dataExpedicao;
	}

}
